home *** CD-ROM | disk | FTP | other *** search
/ Grand Slam 3 / Grand Slam 3.iso / 004 / ramag20.arj / MAKEUSA.BAT next >
DOS Batch File  |  1994-10-21  |  679b  |  42 lines

  1. @Echo off
  2.  
  3. REM
  4. REM Variables
  5. REM
  6.    SET RAMAGPATH=C:\RAMAG
  7.    SET RAMDATAPATH=C:\RAMAG\DATA
  8.  
  9. REM
  10. REM Create a temporarily directory and nnzip the USA ToDay files.
  11. REM
  12.    MD USA$TMP
  13.    PKUNZIP %1 USA$TMP
  14.    CD USA$TMP
  15.  
  16. REM
  17. REM Rename the USA files to ASC and import the index and info file from
  18. REM the USAHLP.ZIP file in the RAMAg directory
  19. REM
  20.    REN *.USA *.ASC
  21.    PKUNZIP %RAMAGPATH\USAHLP
  22.  
  23. REM
  24. REM Copy the reader
  25. REM
  26.    REM Copy %RAMAGPATH\READER.EXE
  27.  
  28. REM
  29. REM Zip the whole bunch and remove the subdirectory
  30. REM
  31.  
  32.    PKZIP -m RAMDATAPATH\USA2DAY *.*
  33.    CD ..
  34.    RD USA$TMP
  35.  
  36. REM
  37. REM Clean up
  38. REM
  39.    SET RAMAGPATH=
  40.    SET RAMDATAPATH=
  41.  
  42.